<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>角色管理</title>
</head>
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap-table.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap-table.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet"
	href="../../plugins/ztree/zTreeStyle/zTreeStyle.css">
<link rel="stylesheet" href="../../css/xtgl/qxgl.css">
<link rel="stylesheet" href="../../css/form.css">
<body>
	<!-- <ol class="breadcrumb">
		<li><a href="#">系统管理</a></li>
		<li><a href="#">角色管理</a></li>
	</ol> -->
	<div class="titlediv">系统管理/权限管理</div>
	<div class="topdiv">
		<form class="form-inline" id="form_bd" onsubmit="return false">
			<div class="container-fluid laydiv">
				<div class="row">
					<div class="col-md-4">
						<div class="col-md-3 text-align-right">
							<span>名称:</span>
						</div>
						<div class="col-md-9">
							<input type="text" class="form-control" id="xm" name="jsmc">
						</div>
					</div>
					<div class="col-md-4">
						<div class="col-md-3 text-align-right">
							<span>是否专家:</span>
						</div>
						<div class="col-md-9">
							<select class="form-control" id="xb" name="sfwzj">
								<option value="">请选择</option>
								<option value=1>是</option>
								<option value=0>否</option>
							</select>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="querybtnDiv">
						<button class="btn btn-warning  " id="query_btn">查询</button>
						<button type="reset" class="btn btn-default" id="reset">重置</button>
						<button class="btn btn-warning" data-toggle="modal"
							data-target="#exampleModal34">添加</button>
					</div>
				</div>
			</div>
		</form>
	</div>
	
	<div class="container-fluid right">
		<div>
			<table id="userInfo"></table>
		</div>
	</div>

	<div class="modal fade" id="exampleModal5" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">权限列表</h4>
				</div>
				<div class="modal-body">
					<table id="jsdb"></table>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">权限分配列表</h4>
				</div>
				<div class="treeDiv">
					<ul id="TreeDoc" class="ztree"></ul>
				</div>
				<div class="modal-body">
					<div class="modal-footer">
						<input id="ID" type="text" style="display: none !important">
						<button type="button" class="btn btn-primary " onclick="queren()"
							id="baocun">保存</button>
						<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade" id="exampleModal34" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">添加角色</h4>
				</div>
				<div class="modal-body">
					<!--一行一条-->
					<form class="form-inline" id="form_bdtd" onsubmit="return false">
						<div class="container-fluid laydiv">
							<div class="row">
								<!-- <div class="col-md-6">
								<div class="col-md-4 text-align-right">
										<span style="color:red">*</span><span>角色编码:</span>
								</div>
								<div class="col-md-8">
								<input type="text" class="form-control" id="jsbm" name="jsbm"required='true' >
								</div>
							</div> -->
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>角色名称:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jsmc" name="jsmc"
											required='true'>
									</div>
								</div>
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>角色描述:</span>
									</div>
									<div class="col-md-8">
										<textarea type="text" class="form-control" id="jsms"
											style='height: 135px;' name="jsms" required='true'></textarea>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>是否为专家:</span>
									</div>
									<div class="col-md-8">
										<select class="form-control" id="sfwzj1" name="sfwzj"
											required='true' onchange='sfwzjchange(1);'>
											<option value=""></option>
											<option value=1>是</option>
											<option value=0>否</option>
										</select>
									</div>
								</div>
								<div class="col-md-6" id="zjlxdiv1">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>专家类型:</span>
									</div>
									<div class="col-md-8">
										<select class="form-control" id="zjlx1" name="zjlx"
											required='false'>
											<option value=""></option>
											<option value='采集专家'>采集专家</option>
											<option value='编辑专家'>编辑专家</option>
										</select>
									</div>
								</div>
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary " id="tianjia">保存</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade" id="exampleModal2" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">修改角色</h4>
				</div>
				<div class="modal-body">
					<!--一行一条-->
					<form class="form-inline" id="form_bdtd2" onsubmit="return false">
						<div class="container-fluid laydiv">
							<div class="row">
								<!-- <div class="col-md-6">
								<div class="col-md-4 text-align-right">
									<span style="color:red">*</span><span>角色编码:</span>
								</div>
								<div class="col-md-8">
								<input type="text" class="form-control" id="jsbm" name="jsbm"required='true' >
								</div>
							</div> -->
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>角色名称:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="zdbh" name="zdbh"
											style="display: none !important"> <input type="text"
											class="form-control" id="jsmc" name="jsmc" required='true'>
									</div>
								</div>
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>角色描述:</span>
									</div>
									<div class="col-md-8">
										<textarea type="text" class="form-control"
											style='height: 135px;' id="jsms" name="jsms" required='true'></textarea>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>是否为专家:</span>
									</div>
									<div class="col-md-8">
										<select class="form-control" id="sfwzj2" name="sfwzj"
											required='true' onchange='sfwzjchange(2);'>
											<option value=""></option>
											<option value=1>是</option>
											<option value=0>否</option>
										</select>
									</div>
								</div>
								<div class="col-md-6" id="zjlxdiv2">
									<div class="col-md-4 text-align-right">
										<span style="color: red">*</span><span>专家类型:</span>
									</div>
									<div class="col-md-8">
										<select class="form-control" id="zjlx2" name="zjlx"
											required='false'>
											<option value=""></option>
											<option value='采集专家'>采集专家</option>
											<option value='编辑专家'>编辑专家</option>
										</select>
									</div>
								</div>
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary " id="save">保存</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>


</body>
<script src="../../js/jquery-2.0.0.min.js"></script>
<script src="../../plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="../../plugins/ztree/js/jquery.ztree.all.js"></script>
<script src="../../plugins/bootbox/bootbox.min.js"></script>
<script src="../../js/lodash.min.js"></script>
<script src="../../plugins/bootstrap-table/js/bootstrap-table.min.js"></script>
<script src="../../plugins/bootstrap-table/js/bootstrap-table-zh-CN.js"></script>
<script
	src="../../plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/qxgl.js"></script>
<script src="../../js/a.js"></script>
<script src="../../js/L-common.js"></script>
<script>
		
		$("#zjlxdiv1").hide();
		$("#zjlxdiv2").hide();
	</script>
</html>